package com.example.traning.mall.service.content.impl;

import com.example.traning.mall.dal.dataobject.content.ContentCategory;
import com.example.traning.mall.dal.mysql.content.ContentCategoryMapper;
import com.example.traning.mall.framework.common.pojo.PageParam;
import com.example.traning.mall.framework.common.pojo.PageResult;
import com.example.traning.mall.service.content.IContentCategoryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 内容-类别 服务实现类
 * </p>
 *
 * @author Lei Yu
 * @since 2025-04-29
 */
@Slf4j
@Service
@RequiredArgsConstructor
public class ContentCategoryServiceImpl implements IContentCategoryService {

    private final ContentCategoryMapper contentCategoryMapper;

    @Override
    public PageResult<ContentCategory> selectPage(PageParam pageParam) {
        return contentCategoryMapper.selectPage(pageParam);
    }
}
